//
//  ReAdressModelList.swift
//  QCFM2
//
//  Created by iMac on 15/12/28.
//  Copyright © 2015年 kuai. All rights reserved.
//

import Foundation
import UIKit

class ReAdressModelList : UITableViewCell {
    
    @IBOutlet weak var Addressee: UILabel!
    @IBOutlet weak var CellPhone: UILabel!
    @IBOutlet weak var ReAddress: UILabel!
    @IBOutlet weak var SelectStatus: UIButton!
    
    func configurateTheCell(readressmodel:ReAdressModel) {
        //
        self.Addressee.text = readressmodel.AddresseeStr
        self.CellPhone.text = readressmodel.CellphoneStr
        self.ReAddress.text = readressmodel.ReceiptAddressStr
        self.SelectStatus.setBackgroundImage(UIImage(named:readressmodel.ImageUrlStr), forState: UIControlState.Normal)
    }
    

    /*
    
    override func setSelected(selected: Bool, animated: Bool) {
        print("select")
        self.SelectStatus.setBackgroundImage(UIImage(named:"xuanzhong"), forState: UIControlState.Normal)
    }*/
}